package com.appleat.springbootstart.service;

import com.appleat.springbootstart.entity.Test;
import com.appleat.springbootstart.mapper.TestMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author dj.wang
 * @Date 2019/12/19 15:41
 * @Version V1.0
 */
@Service
public class TestService
{
    @Resource
    private TestMapper mapper;

    public List<Test> listTest()
    {
        return mapper.selectList(null);
    }
}
